
package com.insigma.business.qrcode.soldier.service;






import com.insigma.business.qrcode.soldier.dto.CompanyBSearcher;
import com.insigma.business.qrcode.soldier.entity.CompanyDO;
import com.insigma.business.qrcode.soldier.entity.CompanyPositNoFairIdDO;
import com.insigma.business.qrcode.soldier.entity.DataStatsCDO;
import com.insigma.business.qrcode.soldier.entity.KeyValueCDO;

import java.util.Date;
import java.util.List;


public interface CompanyService {

   
    List<CompanyDO> search(final CompanyBSearcher innerSearcher);

    List<CompanyPositNoFairIdDO> getCompanyPositNoFairId();
    
    CompanyDO get(final String id);

    
    Integer insert(final CompanyDO company);

    
    Integer update(final CompanyDO company);

    
    Integer delete(final String id, final String modifierType, final String modifierId);

    
    CompanyDO getByUserId(final String userId);

    List<CompanyDO> searchByQualification(CompanyBSearcher companyBSearcher);

    
    List<KeyValueCDO> listId2ValueByIdList(final List<String> idList);

 Integer count();

 List<DataStatsCDO> groupCompanyType();

 int countByBetweenTime(Date startTime, Date endTime);

 CompanyDO getByCompanyName(String name);
}
